<?php defined('SYSPATH') or die('No direct script access.');

class Include_Ae_Login {
	public static function check_login(){
		$session = Session::instance()->as_array();
		if (!isset($session['admin_username']) || !isset($session['admin_login_time'])){
			header('location: /ae/login');
			exit;
		}
	}
}
